home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / plnk081.zip / pilot-link.0.8.1 / include / pi-slp.h < prev    next >
C/C++ Source or Header  |  1997-05-23  |  737b  |  37 lines

  1. #ifndef _PILOT_PADP_SLP_H_
  2. #define _PILOT_PADP_SLP_H_
  3.  
  4. #include "pi-args.h"
  5.  
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9.  
  10. #define SLP_RDCP_T 0
  11. #define SLP_PADP_T 2
  12. #define SLP_LOOP_T 3
  13.  
  14. struct slp {
  15.   unsigned char _be;
  16.   unsigned char _ef;
  17.   unsigned char _ed;
  18.   unsigned char dest;
  19.   unsigned char src;
  20.   unsigned char type;
  21.   unsigned short dlen;
  22.   unsigned char id;
  23.   unsigned char csum;
  24. };
  25.  
  26. extern int slp_tx PI_ARGS((struct pi_socket *ps, struct pi_skb *nskb, int len));
  27. extern int slp_rx PI_ARGS((struct pi_socket *ps));
  28.  
  29. extern void slp_dump PI_ARGS((struct pi_skb *skb, int rxtx));
  30. extern void dph PI_ARGS((unsigned char *d));
  31.                                             
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35.  
  36. #endif /* _PILOT_PADP_SLP_H_ */
  37.